<?php

namespace app\model\staff;

use app\model\company\Department;
use app\model\TimeModel;

class Staff extends TimeModel
{
    protected  $table = 'sj_staff' ;
    public function department()
    {
        return $this->belongsTo(Department::class , 'department_id' , 'id') ;
    }
}